Turns bitmaps into binary.
bmp2bin [-b/-p/-w/-h] input-file input-file ...
Converts bitmaps into binary and outputs the results.
Several things can be done with this tool: (1) the palette can be converted into binary and output, (2) the bitmap can be partitioned according to the size specifications and then divided and output in units of 8x8-dots so it can be used as object data, (3) 24bit images can be converted into binary and output in the color format for AGB, and (4) 8bit images can be output as-is for use in bitmap mode.
The command arguments are described below:
Supports the 4bit, 4bit RLE-compressed, 8bit, 8bit RLE-compressed and 24bit image formats. 4bit images cannot be output as bitmaps. The output filename is set automatically using the base name of the input file and the appropriate extension. For palette output, the filename is given the .plb extension. For all other output, the name ends with the .imb extension. For object output, the -w and -h arguments are valid, and the image is first partitioned into parts of that size and then (to the AGB specifications) divided into 8x8 dots for output. Depending on -w -h the fractional part of the image will be enlarged.
AGB-06-0031-001A (2/26/01)